﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RoleUserIframe.aspx.cs" Inherits="FormSec_RoleUserIframe" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>岗位选择</title>
    <link href="../Includes/index.css" type="text/css" rel="stylesheet" />
    <link href="../Includes/MasterPage.css" type="text/css" rel="stylesheet" />
    <link href="../Includes/xtree.css" type="text/css" rel="stylesheet" />
    <link href="../css/MyCss.css" type="text/css" rel="stylesheet" />
    <link href="../css/Style.css" rel="stylesheet" type="text/css" />
</head>
<script src="../js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<script src="../Includes/jquery-1.4.1.js" type="text/javascript"></script>
<script src="../Includes/MyJScript.js" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
    //选中行改变颜色
    var prevselitem = null;
    function selectx(row) {
        if (prevselitem != null) {
            prevselitem.style.backgroundColor = '#ffffff';
        }
        row.style.backgroundColor = '#0080FF';
        prevselitem = row;

    }
    
</script>
<body>
    <form id="form1" runat="server">
    <div class="inputbuttondiv">
        <asp:Button ID="btnTrue" runat="server" Text="查询"  CssClass="inputbutton" 
            onclick="btnTrue_Click"/>
        <asp:Button ID="btnCancel" runat="server" Text="取消" CssClass="inputbutton" OnClientClick="pageCancel()"/>
    </div> 
    <div>
    
        <table style="width:400px;" class="item">
            <tr>
                <td style="width:60px" class="tdbg">
                    岗位名称:</td>
                <td style="width:60px">
                    <asp:TextBox ID="txtRoleName" runat="server" Width="92px" CssClass="inputtext"></asp:TextBox>
                </td>
                <td style="width:60px"  class="tdbg">
                    用户名称:</td>
                   <td style="width:60px">
                       <asp:TextBox ID="txtUserName" runat="server" Width="92px"  CssClass="inputtext"></asp:TextBox>
                </td>
            </tr>
            </table>
    
     </div>
    <div>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            onrowdatabound="GridView1_RowDataBound" BackColor="White">
            <Columns>
                <asp:BoundField DataField="roleid" HeaderText="岗位代码" />
                <asp:BoundField DataField="rolename" HeaderText="岗位名称" />
                <asp:BoundField DataField="userid" HeaderText="用户代码" />
                <asp:BoundField DataField="username" HeaderText="用户名称" />
            </Columns>
        </asp:GridView>
    </div>
    </form>
</body>
</html>
